package com.xianrenit.xianrenpuzi.manager.mapper;

import com.xianrenit.xianrenpuzi.model.dto.product.ProductDto;
import com.xianrenit.xianrenpuzi.model.entity.product.Product;
import com.xianrenit.xianrenpuzi.model.vo.product.ProductVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<ProductVo> selectByCondition(ProductDto productDto);

    void save(Product product);

    Product selectById(Long id);

    void update(Product product);
}
